package javaweb.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClazzQueryParam {

    private String name;
    private Integer page = 1;
    private Integer pageSize = 10;
    private @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate begin;
    private @DateTimeFormat(pattern = "yyyy-MM-dd") LocalDate end;

}
